<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>Lazy Form Output</h2>
your first Name:<bean:write name="lazyForm" property="firstName"/><br/>
your last Name:<bean:write name="lazyForm" property="lastName"/><br/>
<h3>your friends:</h3>
<h4>Ouput using c:out and EL</h4>
first friend:<c:out value="${lazyForm.map.friends[0]}"/><br/> 
second friend:${lazyForm.map.friends[1]}<br/>
third friend:${lazyForm.map.friends[2]}<br/>
</body>
</html>